package com.bestcem.xm.member.grpc.service.param.syncrule;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author ming.xue <ming.xue@idiaoyan.com>
 * @desc 获取同步规则参数
 * @date 2021-08-02
 */
@Getter
@Setter
@NoArgsConstructor
public class GetSyncRuleParam {
    /**
     * 企业标识
     */
    @NotBlank(message = "企业标识不能为空")
    private String orgId;

    /**
     * 联系人类型
     */
    @NotNull(message = "联系人类型不能为空")
    private Integer memberType;
}
